package com.wanfu.service.impl;

import com.wanfu.dao.LogMapper;
import com.wanfu.entity.Log;
import com.wanfu.service.LogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LogServiceImpl implements LogService {

    @Resource
    private LogMapper logMapper;

    @Override
    public void addLog(Log log) {
        logMapper.insertSelective(log);
    }
}
